package com.tyqx.service;

import com.tyqx.bean.model.EthIncomeList;
import com.tyqx.bean.model.EthPoolInfo;
import com.tyqx.bean.model.StopBlockInterval;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface EthIncomeListService {

    public Integer insert(EthIncomeList ethIncomeList);

    public EthIncomeList selectEthIncomeListByProductDate(Date productDate,String userCode);

    public List<EthIncomeList> selectEthIncomeLists();

    public List<EthIncomeList> selectEthIncomeListsByUserCodeAndPage(String userCode, Integer pageNum, Integer pageSize);

    public Integer selectCountByUserCodeAndPage(String userCode,String pageIndex,String pageSize);


    public Integer selectCountByUserCode(String userCode);


    public List<EthIncomeList> selectEthIncomeListsByUserCode(String userCode);

    public Integer selectByProductDate(Date productDate);

    public Integer update(EthIncomeList ethIncomeList);

}
